import Mock from 'mockjs';

const listData = Mock.mock({
	'list|10000': [
		{
			name: '@cname', // 中文名
			id: '@guid' // guid
		}
	]
});

export default [
	{
		// 获取数据
		url: '/Api/data/GetList',
		type: 'get',
		response: (res) => {
			return {
				code: 200,
				message: '操作成功',
				data: listData
			};
		}
	}
];
